package com.dongke.mapper;

import com.dongke.pojo.User1Role1;
import com.dongke.pojo.User1Role1Example;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface User1Role1Mapper {
    long countByExample(User1Role1Example example);

    int deleteByExample(User1Role1Example example);

    int deleteByPrimaryKey(Integer id);

    int insert(User1Role1 record);

    int insertSelective(User1Role1 record);

    List<User1Role1> selectByExample(User1Role1Example example);

    User1Role1 selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") User1Role1 record, @Param("example") User1Role1Example example);

    int updateByExample(@Param("record") User1Role1 record, @Param("example") User1Role1Example example);

    int updateByPrimaryKeySelective(User1Role1 record);

    int updateByPrimaryKey(User1Role1 record);

    int insertBatch(@Param("uid") Integer i,@Param("rids") Integer[] rids);

    List<Integer> getUserRoleById(Integer uid);

    void deleteByUid(Integer uid);
}